import java.util.Arrays;

import static org.junit.jupiter.api.Assertions.*;
import static org.junit.jupiter.api.Assertions.assertEquals;

class InsertionSortTest {
    @org.junit.jupiter.api.Test
    void sort() {
        int[] a = {4, 3, 2, 10, 12, 1, 5, 6};
        InsertionSort.sort(a);
//        System.out.println(Arrays.toString(a));
        assertEquals(Arrays.toString(a), "[1, 2, 3, 4, 5, 6, 10, 12]");
    }

}